import { PANEL_TYPES } from 'constants/queryBuilder';

import { GetSeriesProps } from '../../getSeriesData';

export const seriesBarChartData = {
	series: [
		{
			metric: {},
			values: [
				[1708683840, '6260'],
				[1708683240, '6251'],
				[1708683780, '6237'],
				[1708683660, '6188'],
				[1708683720, '6176'],
				[1708683360, '6169'],
				[1708683480, '6068'],
				[1708683540, '6025'],
				[1708683300, '6042'],
				[1708683420, '6001'],
				[1708683600, '5969'],
				[1708683900, '5955'],
				[1708683180, '4301'],
			],
			queryName: 'F1',
			legend: 'firstLegend',
		},
		{
			metric: {},
			values: [
				[1708683240, '3378'],
				[1708683300, '3269'],
				[1708683360, '3341'],
				[1708683420, '3269'],
				[1708683480, '3296'],
				[1708683540, '3280'],
				[1708683600, '3260'],
				[1708683660, '3351'],
				[1708683720, '3345'],
				[1708683780, '3370'],
				[1708683840, '3382'],
				[1708683900, '3249'],
				[1708683960, '212'],
			],
			queryName: 'A',
			legend: 'secondLegend',
		},
		{
			metric: {},
			values: [
				[1708683840, '2878'],
				[1708683240, '2873'],
				[1708683780, '2867'],
				[1708683660, '2837'],
				[1708683720, '2831'],
				[1708683360, '2828'],
				[1708683300, '2773'],
				[1708683480, '2772'],
				[1708683540, '2745'],
				[1708683420, '2732'],
				[1708683180, '2729'],
				[1708683600, '2709'],
				[1708683900, '2706'],
			],
			queryName: 'B',
			legend: 'thirdLegend',
		},
		{
			metric: {
				F2: 'F2',
			},
			values: [
				[1708683840, '504'],
				[1708683240, '505'],
				[1708683780, '503'],
				[1708683660, '514'],
				[1708683720, '514'],
				[1708683360, '513'],
				[1708683480, '524'],
				[1708683540, '535'],
				[1708683300, '496'],
				[1708683420, '537'],
				[1708683600, '551'],
				[1708683900, '543'],
				[1708683180, '-1157'],
			],
			queryName: 'F2',
			legend: 'forthLength',
		},
	],

	widgetMetaData: [
		{
			metric: {},
			values: [
				[1708683840, '6260'],
				[1708683240, '6251'],
				[1708683780, '6237'],
				[1708683660, '6188'],
				[1708683720, '6176'],
				[1708683360, '6169'],
				[1708683480, '6068'],
				[1708683540, '6025'],
				[1708683300, '6042'],
				[1708683420, '6001'],
				[1708683600, '5969'],
				[1708683900, '5955'],
				[1708683180, '4301'],
			],
			queryName: 'F1',
			legend: 'firstLegend',
		},
		{
			metric: {},
			values: [
				[1708683240, '3378'],
				[1708683300, '3269'],
				[1708683360, '3341'],
				[1708683420, '3269'],
				[1708683480, '3296'],
				[1708683540, '3280'],
				[1708683600, '3260'],
				[1708683660, '3351'],
				[1708683720, '3345'],
				[1708683780, '3370'],
				[1708683840, '3382'],
				[1708683900, '3249'],
				[1708683960, '212'],
			],
			queryName: 'A',
			legend: 'A-A',
		},
		{
			metric: {},
			values: [
				[1708683840, '2878'],
				[1708683240, '2873'],
				[1708683780, '2867'],
				[1708683660, '2837'],
				[1708683720, '2831'],
				[1708683360, '2828'],
				[1708683300, '2773'],
				[1708683480, '2772'],
				[1708683540, '2745'],
				[1708683420, '2732'],
				[1708683180, '2729'],
				[1708683600, '2709'],
				[1708683900, '2706'],
			],
			queryName: 'B',
			legend: 'B-B',
		},
		{
			metric: {
				F2: 'F2',
			},
			values: [
				[1708683840, '504'],
				[1708683240, '505'],
				[1708683780, '503'],
				[1708683660, '514'],
				[1708683720, '514'],
				[1708683360, '513'],
				[1708683480, '524'],
				[1708683540, '535'],
				[1708683300, '496'],
				[1708683420, '537'],
				[1708683600, '551'],
				[1708683900, '543'],
				[1708683180, '-1157'],
			],
			queryName: 'F2',
			legend: 'F2',
		},
	],
	graphsVisibilityStates: [true, true, true, true, true],
	panelType: PANEL_TYPES.BAR,
	isDarkMode: true,
} as GetSeriesProps;

export const seriesLineChartData = {
	series: [
		{
			metric: {},
			values: [
				[1708683840, '6260'],
				[1708683240, '6251'],
				[1708683780, '6237'],
				[1708683660, '6188'],
				[1708683720, '6176'],
				[1708683360, '6169'],
				[1708683480, '6068'],
				[1708683540, '6025'],
				[1708683300, '6042'],
				[1708683420, '6001'],
				[1708683600, '5969'],
				[1708683900, '5955'],
				[1708683180, '4301'],
			],
			queryName: 'F1',
			legend: 'firstLegend',
		},
		{
			metric: {},
			values: [
				[1708683240, '3378'],
				[1708683300, '3269'],
				[1708683360, '3341'],
				[1708683420, '3269'],
				[1708683480, '3296'],
				[1708683540, '3280'],
				[1708683600, '3260'],
				[1708683660, '3351'],
				[1708683720, '3345'],
				[1708683780, '3370'],
				[1708683840, '3382'],
				[1708683900, '3249'],
				[1708683960, '212'],
			],
			queryName: 'A',
			legend: 'secondLegend',
		},
		{
			metric: {},
			values: [
				[1708683840, '2878'],
				[1708683240, '2873'],
				[1708683780, '2867'],
				[1708683660, '2837'],
				[1708683720, '2831'],
				[1708683360, '2828'],
				[1708683300, '2773'],
				[1708683480, '2772'],
				[1708683540, '2745'],
				[1708683420, '2732'],
				[1708683180, '2729'],
				[1708683600, '2709'],
				[1708683900, '2706'],
			],
			queryName: 'B',
			legend: 'thirdLegend',
		},
		{
			metric: {
				F2: 'F2',
			},
			values: [
				[1708683840, '504'],
				[1708683240, '505'],
				[1708683780, '503'],
				[1708683660, '514'],
				[1708683720, '514'],
				[1708683360, '513'],
				[1708683480, '524'],
				[1708683540, '535'],
				[1708683300, '496'],
				[1708683420, '537'],
				[1708683600, '551'],
				[1708683900, '543'],
				[1708683180, '-1157'],
			],
			queryName: 'F2',
			legend: 'forthLength',
		},
	],

	widgetMetaData: [
		{
			metric: {},
			values: [
				[1708683840, '6260'],
				[1708683240, '6251'],
				[1708683780, '6237'],
				[1708683660, '6188'],
				[1708683720, '6176'],
				[1708683360, '6169'],
				[1708683480, '6068'],
				[1708683540, '6025'],
				[1708683300, '6042'],
				[1708683420, '6001'],
				[1708683600, '5969'],
				[1708683900, '5955'],
				[1708683180, '4301'],
			],
			queryName: 'F1',
			legend: 'firstLegend',
		},
		{
			metric: {},
			values: [
				[1708683240, '3378'],
				[1708683300, '3269'],
				[1708683360, '3341'],
				[1708683420, '3269'],
				[1708683480, '3296'],
				[1708683540, '3280'],
				[1708683600, '3260'],
				[1708683660, '3351'],
				[1708683720, '3345'],
				[1708683780, '3370'],
				[1708683840, '3382'],
				[1708683900, '3249'],
				[1708683960, '212'],
			],
			queryName: 'A',
			legend: 'A-A',
		},
		{
			metric: {},
			values: [
				[1708683840, '2878'],
				[1708683240, '2873'],
				[1708683780, '2867'],
				[1708683660, '2837'],
				[1708683720, '2831'],
				[1708683360, '2828'],
				[1708683300, '2773'],
				[1708683480, '2772'],
				[1708683540, '2745'],
				[1708683420, '2732'],
				[1708683180, '2729'],
				[1708683600, '2709'],
				[1708683900, '2706'],
			],
			queryName: 'B',
			legend: 'B-B',
		},
		{
			metric: {
				F2: 'F2',
			},
			values: [
				[1708683840, '504'],
				[1708683240, '505'],
				[1708683780, '503'],
				[1708683660, '514'],
				[1708683720, '514'],
				[1708683360, '513'],
				[1708683480, '524'],
				[1708683540, '535'],
				[1708683300, '496'],
				[1708683420, '537'],
				[1708683600, '551'],
				[1708683900, '543'],
				[1708683180, '-1157'],
			],
			queryName: 'F2',
			legend: 'F2',
		},
	],
	graphsVisibilityStates: [true, true, true, true, true],
	panelType: PANEL_TYPES.TIME_SERIES,
	isDarkMode: false,
} as GetSeriesProps;
